<template>
  <div class="home">
   <el-container>
  <el-header>超级管理</el-header>
  <el-container>
    <el-aside width="200px">
        <el-menu
      default-active="2"
      class="el-menu-vertical-demo"
      background-color="#545c64"
      text-color="#fff"
      active-text-color="#ffd04b"
      router>
       <el-submenu index="1-1">
          <template slot="title">基础管理</template>
          <el-menu-item index="/shangpin">商品管理</el-menu-item>
        </el-submenu>
         <el-submenu index="1-2">
          <template slot="title">订单管理</template>
          <el-menu-item index="/dingdan">订单管理</el-menu-item>
        </el-submenu>
         <el-submenu index="1-3">
          <template slot="title">系统管理</template>
          <el-menu-item index="/xitong">系统管理</el-menu-item>
        </el-submenu>
         <el-submenu index="1-4">
          <template slot="title">支付管理</template>
          <el-menu-item index="/zhifu">支付管理</el-menu-item>
        </el-submenu>
        </el-menu>
    </el-aside>
    <el-main>
      <router-view></router-view>
    </el-main>
  </el-container>
</el-container>

  </div>
</template>

<script>
// @ is an alias to /src


export default {

}
</script>
<style>
 .el-header, .el-footer {
    background-color: #B3C0D1;
    color: #333;
    text-align: center;
    line-height: 60px;
  }
  
  .el-aside {
    background-color: #D3DCE6;
    color: #333;
    text-align: center;
    line-height: 200px;
  }
  
  .el-main {
    background-color: #E9EEF3;
    color: #333;
    text-align: center;
    /* line-height: 160px; */
  }
  
  body > .el-container {
    margin-bottom: 40px;
  }
  
  .el-container:nth-child(5) .el-aside,
  .el-container:nth-child(6) .el-aside {
    line-height: 260px;
  }
  
  .el-container:nth-child(7) .el-aside {
    line-height: 320px;
  }
</style>
